package com.suny.sf_server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suny.DataDicVal.DataDicVal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.suny.DataDicVal.dto.DataDicValDTO;
import com.suny.DataDicVal.dto.DataDicValQueryDTO;
import com.suny.DataDicVal.vo.DataDicValSelectVO;
import com.suny.DataDicVal.vo.DataDicValVO;
import com.suny.result.PageDTO;

import java.util.List;

/**
* @author sun
* @description 针对表【data_dic_val(数据字典值表)】的数据库操作Service
* @createDate 2024-12-27 10:45:10
*/
public interface DataDicValService extends IService<DataDicVal> {

    Boolean addDataDicVal(DataDicValDTO dataDicValDTO);


    Page<DataDicValVO> listDataDicVal(Integer dicId, PageDTO pageDTO);


    Page<DataDicValVO> getListByQuery(DataDicValQueryDTO dto);

    Boolean updateStatus(Integer valId, Integer status);

    Boolean getHasDataDicVal(Integer id);
    Boolean getHasDataDicValID(Integer id);

    List<DataDicValSelectVO> getSelectByDicId();
}
